package com.zjq.cloud.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zjq.cloud.user.entity.User;
import org.apache.ibatis.annotations.Param;

/**
* @author zjq
* @description 针对表【tb_user】的数据库操作Mapper
* @createDate 2025-10-21 11:32:51
* @Entity com.zjq.cloud.user.entity.User
*/
public interface UserMapper extends BaseMapper<User> {

    //根据用户id获取用户详情的方法
    User selectUserById(@Param("userId") Long userId);
}




